package com.woniu.gym.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.woniu.core.util.PageInfo;
import com.woniu.gym.dto.RecruitConditionDto;
import com.woniu.gym.form.AddRecruitForm;
import com.woniu.gym.form.FindAllJobForm;
import com.woniu.gym.form.FindJobByGymNumForm;
import com.woniu.gym.form.ModifyRecruitForm;
import com.woniu.gym.model.TRecruitCondition;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 吴彦祖
 * @since 2024年04月02日
 */
public interface TRecruitConditionService extends IService<TRecruitCondition> {

    RecruitConditionDto addRecruit(AddRecruitForm form);

    TRecruitCondition delJobPostings(Integer recruitId,String gymNum);

    PageInfo<RecruitConditionDto> findJobPostingsById(FindJobByGymNumForm form);

    PageInfo<RecruitConditionDto> findAllJob(FindAllJobForm form);

    Boolean modifyRecruit(ModifyRecruitForm form);
}
